/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "V_PROJ_Assembly",TableName = "V_PROJ_Assembly",DetailTable =  new Type[] { typeof(PROJ_AssemblyIssue)},DetailTableCnName = "问题")]
    public partial class V_PROJ_Assembly:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="PROJAssembly_Id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid PROJAssembly_Id { get; set; }

       /// <summary>
       ///任务
       /// </summary>
       [Display(Name ="任务")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string TaskTitle { get; set; }

       /// <summary>
       ///描叙
       /// </summary>
       [Display(Name ="描叙")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Description { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CreateOn")]
       [Column(TypeName="datetime")]
       public DateTime? CreateOn { get; set; }

       [Display(Name ="问题")]
       [ForeignKey("PROJAssembly_Id")]
       public List<PROJ_AssemblyIssue> PROJ_AssemblyIssue { get; set; }

    }
}